<div class="modal fade in <%=name%>_modal" id="<%=_id%>" style="display: none;z-index: <%=index%>" aria-hidden="false">
    <%_.each(tabs,function(val,key){%>
    <div class="modal-dialog <%=val.name%>" style="display: none">
        <div class="modal-content ui-widget-content">
            <div class="modal-header">
                <h4 class="modal-title">
                    <%_.each(val.header_list,function(v,k){%>
                        <a data-name="<%=v.name%>"><%=v.title%></a>
                        <%if(k<val.header_list.length-1){%>|<%}%>
                    <%});%>
                </h4>
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            </div>
            <div class="modal-body loading"></div>
            <div class="modal-footer row"></div>
        </div>
    </div>
    <%});%>
</div>